<?php
    include "../../../config.php";
    require_once("../redirect.php");
    require_once("../config.php");
    global $FOLIO_CFG;

    Header("content-type: application/x-javascript");

    $path = $CFG->wwwroot . 'mod/folio/ajax/';
    $url = $CFG->wwwroot;

    // Get the correct fieldname for the echo var in the Redirect object.
    //      This is then passed as the name of the parameter so that
    //      the ajax pages know what to do as a resulting action.
    $redirect_echo = folio_redirect::htmlVariableName( 'echo' );

?>


<?php
    unset( $path );
    unset( $redirect_echo );
?>
